<?php /*
 * @see eve_certifications_user_certs()
 */ ?>
<?php
print "<ul>";
foreach ($user_certs as $cert_id => $value) { 
	if (($certs[$cert_id]['ribbon_image_url'] != NULL) && ($certs[$cert_id]['ribbon_image_url'] != '')) {
		$cert_title = "<img align='top' src='" . $certs[$cert_id]['ribbon_image_url'] . "'/>&nbsp;&nbsp;" . 
		              $certs[$cert_id]['name'];
	} else {
		$cert_title = $certs[$cert_id]['name'];
	}
	// -- Build the field
	print "<li>" . l($cert_title, $certs[$cert_id]['wiki_url'], array('html' => TRUE)) . "</li>";
}
print "</ul>";

if (user_access(EVE_CERTIFICATIONS_PERM_ASSIGN_CERTS)) {
	print l(t('Edit User Certifications'), 'user/' . $uid . '/certs/edit');
}
?>
